<!doctype html>
<html>
<head>
    <include file="public/head"/>
    <title>ThinkCMF插件演示首页</title>
    <meta name="description" content="ThinkCMF插件演示首页">
    <meta name="keywords" content="ThinkCMF插件演示首页">
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:cmf_plugin_url('PayZhl://AdminIndex/index')}">第三方支付</a></li>
        <li class="active"><a>配置中</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form margin-top-20"
          action="{:cmf_plugin_url('PayZhl://AdminIndex/editPost_wechat')}">
        <div class="form-group">
            <label class="col-sm-1 control-label"></label>
            <div class="col-md-6 col-sm-10">
                <h3>{$type_name}</h3>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>APPID</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="APPID" value="{$wechat.APPID|default=''}" placeholder="绑定支付的APPID（必须配置，开户邮件中可查看）">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>MCHID</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="MCHID" value="{$wechat.MCHID|default=''}"   placeholder="商户号（必须配置，开户邮件中可查看）">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>KEY</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="KEY" value="{$wechat.KEY|default=''}" placeholder="商户支付密钥，参考开户邮件设置（必须配置，登录商户平台自行设置）">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>APPSECRET</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="APPSECRET" value="{$wechat.APPSECRET|default=''}" placeholder="公众帐号secert（仅JSAPI支付的时候需要配置， 登录公众平台，进入开发者中心可设置）">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>SSLCERT_PATH</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="SSLCERT_PATH" value="{$wechat.SSLCERT_PATH|default=''}" placeholder="商户证书（仅退款、撤销订单时需要)">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>SSLKEY_PATH</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="SSLKEY_PATH" value="{$wechat.SSLKEY_PATH |default=''}"  placeholder="商户证书（仅退款、撤销订单时需要)">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>Notify_url</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="Notify_url" value="{$wechat.Notify_url |default=''}"  placeholder=" 异步接收微信支付结果通知的回调地址">
            </div>
        </div>



        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-primary js-ajax-submit">{:lang("SAVE")}</button>
        </div>
    </form>
</div>
<include file="public/scripts"/>
</body>
</html>